package com.app.car.bean;

import com.alibaba.fastjson.annotation.JSONField;

public class UserUploadFileBean extends BasisBean {

	/**
	 *
	 */
	private static final long serialVersionUID = 200000001L;

	/**
	 * id : 241264b86cb85c4aa365a883c363a21a
	 * createBy : a6c5260fcc71d2a18ec7f5d52f1b96e5
	 * createUserName : admin
	 * createTime : 2020-04-13 09:02:12
	 * updateBy : a6c5260fcc71d2a18ec7f5d52f1b96e5
	 * updateUserName : admin
	 * updateTime : 2020-04-13 09:02:12
	 * fileName : Screenshot_2020-03-12-11-52-04.png
	 * filePath : http://192.168.25.236/zd_user/AlarmInfo/2020/04/13/0833F2B8994D4566ADB503179D87C343.png
	 * url : zd_user/AlarmInfo/2020/04/13/0833F2B8994D4566ADB503179D87C343.png
	 * fileType : 20
	 * fileExt : png
	 * busiId : null
	 * busiType : AlarmInfo
	 * dataOrder : 1
	 * deleted : 0
	 * uid : 241264b86cb85c4aa365a883c363a21a
	 * name : Screenshot_2020-03-12-11-52-04.png
	 */

	private String id;
	private String createBy;
	private String createUserName;
	private String createTime;
	private String updateBy;
	private String updateUserName;
	private String updateTime;
	private String fileName;
	private String filePath;
	private String url;
	private String fileType;
	private String fileExt;
	private String busiId;
	private String busiType;
	private int dataOrder;
	private String deleted;
	private String uid;
	private String name;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public String getUpdateUserName() {
		return updateUserName;
	}

	public void setUpdateUserName(String updateUserName) {
		this.updateUserName = updateUserName;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public String getFileExt() {
		return fileExt;
	}

	public void setFileExt(String fileExt) {
		this.fileExt = fileExt;
	}

	public String getBusiId() {
		return busiId;
	}

	public void setBusiId(String busiId) {
		this.busiId = busiId;
	}

	public String getBusiType() {
		return busiType;
	}

	public void setBusiType(String busiType) {
		this.busiType = busiType;
	}

	public int getDataOrder() {
		return dataOrder;
	}

	public void setDataOrder(int dataOrder) {
		this.dataOrder = dataOrder;
	}

	public String getDeleted() {
		return deleted;
	}

	public void setDeleted(String deleted) {
		this.deleted = deleted;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@JSONField(serialize = false)
	public UploadImgData getImgData(){
		UploadImgData imgData = new UploadImgData();
		imgData.setId(id);
		imgData.setPath(getUrl());
		imgData.setName(getFileName());
		return  imgData;
	}
}
